package com.lhc.nacosconsumer.fegin.failback;

import com.lhc.nacosconsumer.fegin.ProviderFeign;
import org.springframework.stereotype.Component;

/**
 * @author liuchaoqun
 * @date 2022/6/17
 * @Description provider调用失败的回调函数
 */
@Component
public class ProviderFail  implements ProviderFeign {

    @Override
    public String hello() {
        return "调用provider失败";
    }

}


